package question12;

import java.time.LocalDateTime;

//代码计算500天后是几几年几月几日。
public class CalendarDemo {
    public static void main(String[] args) {
        LocalDateTime now = LocalDateTime.now();
        LocalDateTime time = now.plusDays(365);
        int year=time.getYear();
        int Month=time.getMonthValue();
        int Day=time.getDayOfMonth();
        System.out.println(year+"年"+Month+"月"+Day+"日");
    }
}
